.header {
  width: 100%;
  height: 56px;
  background: white;
  .main-container {
    width: 1194px;
    margin: 0 auto;
    .logo-con {
      display: inline-block;
      text-decoration: none;
      .logo-icon {
        margin-top: 10px;
        display: inline-block;
        height: 36px;
        width: 36px;
      }
      .logo-txt {
        margin-top: 17px;
        margin-left: 12px;
        width: 112px;
        height: 22px;
        position: relative;
        top: -7px;
      }
    }
  }
  //   导航
  .nav-ul {
    padding: 0;
    margin: 0;
    list-style: none;
    margin-left: 10px;
    .nav-li {
      float: left;
      font-size: 14px;
      color: #4b4c4d;
      margin-left: 28px;
      padding: 17px 11px;
      border: solid 2px #fff;
      &:hover span {
        color: #f8aa00;
      }
      &.active {
        border-bottom: solid 3px #f8aa00;
      }
      span {
        font-size: 14px;
        color: #4b4c4d;
        text-decoration: none;
        font-weight: 700;
      }
      .trangle-icon {
        display: inline-block;
        width: 10px;
        height: 5px;
        position: relative;
        top: -3px;
        margin-left: 5px;
        background-size: 100%;
        background-image: url("https://dig.chouti.com/images/triangle-33457d21ce.png");
      }
    }
  }
  //   登录
  .btn1 {
    margin-top: 9px;
    font-size: 14px;
    padding: 9px 22px;
    font-weight: 700;
    text-align: center;
    border-radius: 2px;
    border: 1px solid #f8aa00;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
    color: #f8aa00;
    float: right;
  }
  .btn1:hover {
    background-color: #ffb71b;
    color: white;
  }
  //   按钮
  .publish-btn {
    margin-right: 35px;
    margin-top: 13px;
    box-sizing: border-box;
    padding: 8px;
    float: right;
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 2px;
    border: 1px solid #f8aa00;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: #f8aa00;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    .publish-icon {
      width: 14px;
      height: 14px;
      margin-right: 5px;
      position: relative;
      top: -1px;
    }
  }
  .publish-btn:hover {
    background-color: #ffb71b;
  }
  //   搜索框
  .search {
    width: 208px;
    height: 36px;
    line-height: 36px;
    margin-top: 10px;
    background-color: #f5f5f5;
    margin-right: 35px;
    position: relative;
    border-radius: 2px;
    float: right;
    .search-input {
      margin-left: 10px;
      background-color: #f5f5f5;
      border: none;
      outline: 0;
      font-size: 14px;
    }
    .search-icon {
      display: inline-block;
      width: 18px;
      height: 18px;
      position: absolute;
      top: 8px;
      right: 12px;
      cursor: pointer;
      background-size: 100%;
      background-image: url("https://dig.chouti.com/images/search-7acb7b9349.png");
    }
  }
}
